package com.qidian.mes.md.service;

import com.qidian.mes.pojo.Dict;
import com.qidian.mes.pojo.MdWorkShop;
import com.qidian.mes.util.pojo.MESResult;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/30 18:38
 * Description
 */
public interface MdWorkShopService {
    /**
     *
     * @param workshopId
     * @return
     */
    MESResult get(Long workshopId);

    /**
     * 多条件分页查询
     * @param page
     * @param limit
     * @param mdWorkShop
     * @return
     */
    MESResult list(int page, int limit, MdWorkShop mdWorkShop);

    /**
     *
     * @param mdWorkShop
     * @return
     */
    MESResult save(MdWorkShop mdWorkShop);
    MESResult delete(Long id);
    MESResult deletes(Long[] ids);
    MESResult update(MdWorkShop mdWorkShop);
    MESResult generateWorkShopCode();
}
